//
//  AppDelegate.h
//  CheckersGame
//
//  Created by  on 11-11-23.
//  Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

@class ViewController;

@interface AppDelegate : UIResponder <UIApplicationDelegate> {
    UINavigationController*  navController;
    BOOL previouslyShook;
    UIAcceleration* lastAcceleration;
}

@property (retain,nonatomic) IBOutlet UINavigationController*  navController;

@property (strong, nonatomic) UIWindow *window;

@property (strong, nonatomic) ViewController *viewController;

@property (readonly, strong, nonatomic) NSManagedObjectContext *managedObjectContext;
@property (readonly, strong, nonatomic) NSManagedObjectModel *managedObjectModel;
@property (readonly, strong, nonatomic) NSPersistentStoreCoordinator *persistentStoreCoordinator;


@property(retain) UIAcceleration* lastAcceleration;

- (void)saveContext;

- (NSURL *)applicationDocumentsDirectory;


@end
